package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallCustomerAccountDao;
import com.appkubes.mall.core.entity.MallCustomerAccount;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallCustomerAccountService extends AbstractBaseService<BaseMallCustomerAccountDao, MallCustomerAccount> {

    MallCustomerAccount getOneByEntity(MallCustomerAccount entity);

    List<MallCustomerAccount> selectListByEntity(MallCustomerAccount entity);

    IPage<MallCustomerAccount> selectPageByEntity(IPage<MallCustomerAccount> page);
    IPage<MallCustomerAccount> selectPageByEntity(PageVO pageVO);

    IPage<MallCustomerAccount> selectPageByEntity(MallCustomerAccount entity, IPage<MallCustomerAccount> page);
    IPage<MallCustomerAccount> selectPageByEntity(MallCustomerAccount entity, PageVO pageVO);

    IPage<MallCustomerAccount> selectPageByEntity(MallCustomerAccount entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallCustomerAccount entity);
}
